package com.ruikong.dazhi.dao.base;

import com.ruikong.dazhi.entity.base.Staff;
import com.ruikong.dazhi.model.input.UserSearchPageInput;

import java.util.List;

/**
 * (Staff)表数据库访问层
 *
 * @author HuaJiaYi
 * @since 2021-09-06 16:23:56
 */
public interface StaffMapper {


    Staff queryById(Integer id);

    List<Staff> queryAll(Staff staff);

    int insert(Staff staff);

    int update(Staff staff);

    int deleteById(Staff staff);

    List<Staff> getUserList(UserSearchPageInput input);

    Staff getUserBySn(String staffSn);

    Integer isExist(Staff staff);
    Integer isStaffSnExist(String staffSn);

}

